package com.qdxwx.models.member;


import java.io.Serializable;

/**
 * 会员商品
 *
 */
public class MemberSale implements Serializable{

    private static final long serialVersionUID = -3255350613645341137L;

    private int id;
    /**
     * 商品名称
     */
    private String name;
    /**
     * 价格
     */
    private Integer price;
    /**
     * 描述
     */
    private String description;
    /**
     * 权重排序
     */
    private Integer sort;
    /**
     * 会员类型
     */
    private Integer typeId;
    /**
     * 按年时成功支付后开通的天数
     */
    private int days;
    /**
     * 状态0正常1删除
     */
    private Integer status;

    private String title;//会员类型名称（不存在数据库）

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public int getDays() {
        return days;
    }

    public void setDays(int days) {
        this.days = days;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "MemberSale{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", description='" + description + '\'' +
                ", sort=" + sort +
                ", type=" + typeId +
                ", days=" + days +
                ", status=" + status +
                ", title='" + title + '\'' +
                '}';
    }
}

